<?php

namespace app\store\model;

use think\Model;
use think\model\concern\SoftDelete;

class OfflineShop extends Model
{
    use SoftDelete;
    protected $deleteTime = 'delete_time';
    protected $defaultSoftDelete = 0;

    public function getCreateTimeAttr($value)
    {
        return date('Y-m-d H:i:s', $value);
    }
    // protected $schema = [
    //     'id' => 'int',
    //     'store_id' => 'int',
    //     'type' => 'int',
    //     'sort' => 'int',
    //     'name' => 'string',
    //     'image' => 'string',
    //     'param' => 'string',
    // ];

}